/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.ArrayList;

/**
 *
 * @author Daron Dima
 */
public   class Player {
    String name;
    int Score;
    int id;
    int valueOfHand;
    ArrayList<Card> hand;
    
    public Player()
    {
        
    }

    public Player(String name, int id) {
        this.name = name;
        this.Score = 0;
        this.id = id;
        this.valueOfHand = 0;
    }

    public int getScore() {
        return Score;
    }

    public void setScore(int Score) {
        this.Score = Score;
    }

    public ArrayList<Card> getHand() {
        return hand;
    }

    public void setHand(ArrayList<Card> hand) {
        this.hand = hand;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValueOfHand() {
        return valueOfHand;
    }

    public void setValueOfHand(int valueOfHand) {
        this.valueOfHand = valueOfHand;
    }
    
    public int calculateHandValue (){
        return 1;
        //TODO Calculate hand value
        
    }
    
    
}
